package com.ourteam.system.dao;

import net.dao.BaseQueryBean;
import net.dao.BaseWhereCriterion;
import net.dao.IDataAccessInterface;

import org.apache.commons.lang.StringUtils;

import java.util.Arrays;
import java.util.List;
import java.util.Map;


/**
 * Template Name : DAO查询对象
 * Template Version : 1
 * Template Last Modfiy Date : Sat Aug 19 10:06:32 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:24
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public class SysDomainDAOQueryBean extends BaseQueryBean {
    public SysDomainDAOQueryBean() {
        super();
    }

    public SysDomainDAOQueryBean(BaseQueryBean aQueryBean) {
        super(aQueryBean);
    }

    public SysDomainDAOQueryBean(BaseQueryBean aQueryBean, Map tableReplaceMap) {
        super(aQueryBean, tableReplaceMap);
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();

        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }

        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        return new Criteria(this);
    }

    public void addIdSelectProperty() {
        addIdSelectProperty("id");
    }

    public void addIdSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysDomainDAO.Id, aAlias);
        } else {
            addSelectProperty(ISysDomainDAO.Id, "id");
        }
    }

    public void addDomainCodeSelectProperty() {
        addDomainCodeSelectProperty("domainCode");
    }

    public void addDomainCodeSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysDomainDAO.DomainCode, aAlias);
        } else {
            addSelectProperty(ISysDomainDAO.DomainCode, "domainCode");
        }
    }

    public void addDomainIconSelectProperty() {
        addDomainIconSelectProperty("domainIcon");
    }

    public void addDomainIconSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysDomainDAO.DomainIcon, aAlias);
        } else {
            addSelectProperty(ISysDomainDAO.DomainIcon, "domainIcon");
        }
    }

    public void addDomainNameSelectProperty() {
        addDomainNameSelectProperty("domainName");
    }

    public void addDomainNameSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysDomainDAO.DomainName, aAlias);
        } else {
            addSelectProperty(ISysDomainDAO.DomainName, "domainName");
        }
    }

    public void addDomainTitelKeySelectProperty() {
        addDomainTitelKeySelectProperty("domainTitelKey");
    }

    public void addDomainTitelKeySelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysDomainDAO.DomainTitelKey, aAlias);
        } else {
            addSelectProperty(ISysDomainDAO.DomainTitelKey, "domainTitelKey");
        }
    }

    public void addRemarksSelectProperty() {
        addRemarksSelectProperty("remarks");
    }

    public void addRemarksSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysDomainDAO.Remarks, aAlias);
        } else {
            addSelectProperty(ISysDomainDAO.Remarks, "remarks");
        }
    }

    public void addSortIndexSelectProperty() {
        addSortIndexSelectProperty("sortIndex");
    }

    public void addSortIndexSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysDomainDAO.SortIndex, aAlias);
        } else {
            addSelectProperty(ISysDomainDAO.SortIndex, "sortIndex");
        }
    }

    public void addStatusSelectProperty() {
        addStatusSelectProperty("status");
    }

    public void addStatusSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysDomainDAO.Status, aAlias);
        } else {
            addSelectProperty(ISysDomainDAO.Status, "status");
        }
    }

    public void addDomainShortNameSelectProperty() {
        addDomainShortNameSelectProperty("domainShortName");
    }

    public void addDomainShortNameSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysDomainDAO.DomainShortName, aAlias);
        } else {
            addSelectProperty(ISysDomainDAO.DomainShortName, "domainShortName");
        }
    }

    public void addDomainSmallIconSelectProperty() {
        addDomainSmallIconSelectProperty("domainSmallIcon");
    }

    public void addDomainSmallIconSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysDomainDAO.DomainSmallIcon, aAlias);
        } else {
            addSelectProperty(ISysDomainDAO.DomainSmallIcon, "domainSmallIcon");
        }
    }

    public void addDomainIconContentSelectProperty() {
        addDomainIconContentSelectProperty("domainIconContent");
    }

    public void addDomainIconContentSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysDomainDAO.DomainIconContent, aAlias);
        } else {
            addSelectProperty(ISysDomainDAO.DomainIconContent,
                "domainIconContent");
        }
    }

    public void addDomainSmallIconContentSelectProperty() {
        addDomainSmallIconContentSelectProperty("domainSmallIconContent");
    }

    public void addDomainSmallIconContentSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysDomainDAO.DomainSmallIconContent, aAlias);
        } else {
            addSelectProperty(ISysDomainDAO.DomainSmallIconContent,
                "domainSmallIconContent");
        }
    }

    public void addAllSelectProperties() {
        addIdSelectProperty();

        addDomainCodeSelectProperty();

        addDomainIconSelectProperty();

        addDomainNameSelectProperty();

        addDomainTitelKeySelectProperty();

        addRemarksSelectProperty();

        addSortIndexSelectProperty();

        addStatusSelectProperty();

        addDomainShortNameSelectProperty();

        addDomainSmallIconSelectProperty();

        addDomainIconContentSelectProperty();

        addDomainSmallIconContentSelectProperty();
    }

    public static class Criteria extends BaseWhereCriterion<SysDomainDAOQueryBean> {
        protected Criteria(SysDomainDAOQueryBean aParentObject) {
            super(aParentObject);
        }

        public Criteria andIdIsNull() {
            addCriterion(ISysDomainDAO.Id + " is null");

            return this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion(ISysDomainDAO.Id + " is not null");

            return this;
        }

        public Criteria andIdIsNotEmpty() {
            addCriterion(ISysDomainDAO.Id + " is not null AND " +
                ISysDomainDAO.Id + " <> ''");

            return this;
        }

        public Criteria andIdIsEmpty() {
            addCriterion("(" + ISysDomainDAO.Id + " is null OR " +
                ISysDomainDAO.Id + " = '')");

            return this;
        }

        public Criteria andIdEqualTo(long value) {
            return andIdEqualTo(Long.valueOf(value));
        }

        public Criteria andIdEqualTo(java.lang.Long value) {
            addCriterion(ISysDomainDAO.Id + " = ", value, "id");

            return this;
        }

        public Criteria andIdEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.Id);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Id + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdNotEqualTo(long value) {
            return andIdNotEqualTo(Long.valueOf(value));
        }

        public Criteria andIdNotEqualTo(java.lang.Long value) {
            addCriterion(ISysDomainDAO.Id + " <>", value, "id");

            return this;
        }

        public Criteria andIdNotEqualToOrIsNull(long value) {
            return andIdNotEqualToOrIsNull(Long.valueOf(value));
        }

        public Criteria andIdNotEqualToOrIsNull(java.lang.Long value) {
            addCriterion(ISysDomainDAO.Id + " is null OR " + ISysDomainDAO.Id +
                " <>", value, "id");

            return this;
        }

        public Criteria andIdNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.Id);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Id + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdGreaterThan(long value) {
            return andIdGreaterThan(Long.valueOf(value));
        }

        public Criteria andIdGreaterThan(java.lang.Long value) {
            addCriterion(ISysDomainDAO.Id + " >", value, "id");

            return this;
        }

        public Criteria andIdGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.Id);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Id + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdGreaterThanOrEqualTo(long value) {
            return andIdGreaterThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andIdGreaterThanOrEqualTo(java.lang.Long value) {
            addCriterion(ISysDomainDAO.Id + " >=", value, "id");

            return this;
        }

        public Criteria andIdGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.Id);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdGreaterThanOrEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Id + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdLessThan(long value) {
            return andIdLessThan(Long.valueOf(value));
        }

        public Criteria andIdLessThan(java.lang.Long value) {
            addCriterion(ISysDomainDAO.Id + " <", value, "id");

            return this;
        }

        public Criteria andIdLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.Id);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Id + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdLessThanOrEqualTo(long value) {
            return andIdLessThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andIdLessThanOrEqualTo(java.lang.Long value) {
            addCriterion(ISysDomainDAO.Id + " <=", value, "id");

            return this;
        }

        public Criteria andIdLessThanOrEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.Id);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdLessThanOrEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Id + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdIn(long[] values) {
            if (values.length == 1) {
                return andIdEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(ISysDomainDAO.Id + " in", values, "id");

                return this;
            }
        }

        public Criteria andIdNotIn(long[] values) {
            if (values.length == 1) {
                return andIdNotEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(ISysDomainDAO.Id + " not in", values, "id");

                return this;
            }
        }

        public Criteria andIdIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andIdEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.Id + " in", values, "id");

                return this;
            }
        }

        public Criteria andIdNotIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andIdNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.Id + " not in", values, "id");

                return this;
            }
        }

        public Criteria andIdIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andIdEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.Id + " in", Arrays.asList(values),
                    "id");

                return this;
            }
        }

        public Criteria andIdNotIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andIdNotEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.Id + " not in",
                    Arrays.asList(values), "id");

                return this;
            }
        }

        public Criteria andIdIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Id + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Id + " not in ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdBetween(long value1, long value2) {
            addCriterion(ISysDomainDAO.Id + " between", value1, value2, "id");

            return this;
        }

        public Criteria andIdBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(ISysDomainDAO.Id + " between", value1, value2, "id");

            return this;
        }

        public Criteria andIdNotBetween(long value1, long value2) {
            addCriterion(ISysDomainDAO.Id + " not between", value1, value2, "id");

            return this;
        }

        public Criteria andIdNotBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(ISysDomainDAO.Id + " not between", value1, value2, "id");

            return this;
        }

        public Criteria andDomainCodeIsNull() {
            addCriterion(ISysDomainDAO.DomainCode + " is null");

            return this;
        }

        public Criteria andDomainCodeIsNotNull() {
            addCriterion(ISysDomainDAO.DomainCode + " is not null");

            return this;
        }

        public Criteria andDomainCodeIsNotEmpty() {
            addCriterion(ISysDomainDAO.DomainCode + " is not null AND " +
                ISysDomainDAO.DomainCode + " <> ''");

            return this;
        }

        public Criteria andDomainCodeIsEmpty() {
            addCriterion("(" + ISysDomainDAO.DomainCode + " is null OR " +
                ISysDomainDAO.DomainCode + " = '')");

            return this;
        }

        public Criteria andDomainCodeEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainCode + " = ", value, "domainCode");

            return this;
        }

        public Criteria andDomainCodeEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainCode);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainCodeEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainCode + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainCodeNotEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainCode + " <>", value, "domainCode");

            return this;
        }

        public Criteria andDomainCodeNotEqualToOrIsNull(String value) {
            addCriterion(ISysDomainDAO.DomainCode + " is null OR " +
                ISysDomainDAO.DomainCode + " <>", value, "domainCode");

            return this;
        }

        public Criteria andDomainCodeNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainCode);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainCodeNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainCode + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainCodeGreaterThan(String value) {
            addCriterion(ISysDomainDAO.DomainCode + " >", value, "domainCode");

            return this;
        }

        public Criteria andDomainCodeGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainCode);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainCodeGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainCode + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainCodeGreaterThanOrEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainCode + " >=", value, "domainCode");

            return this;
        }

        public Criteria andDomainCodeGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainCode);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainCodeGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainCode + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainCodeLessThan(String value) {
            addCriterion(ISysDomainDAO.DomainCode + " <", value, "domainCode");

            return this;
        }

        public Criteria andDomainCodeLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainCode);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainCodeLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainCode + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainCodeLessThanOrEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainCode + " <=", value, "domainCode");

            return this;
        }

        public Criteria andDomainCodeLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainCode);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainCodeLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainCode + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainCodeLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysDomainDAO.DomainCode + " like", buffer.toString(),
                "domainCode");

            return this;
        }

        public Criteria andDomainCodeNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysDomainDAO.DomainCode + " not like",
                buffer.toString(), "domainCode");

            return this;
        }

        public Criteria andDomainCodeIn(List<String> values) {
            if (values.size() == 1) {
                return andDomainCodeEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.DomainCode + " in", values,
                    "domainCode");

                return this;
            }
        }

        public Criteria andDomainCodeNotIn(List<String> values) {
            if (values.size() == 1) {
                return andDomainCodeNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.DomainCode + " not in", values,
                    "domainCode");

                return this;
            }
        }

        public Criteria andDomainCodeIn(String[] values) {
            if (values.length == 1) {
                return andDomainCodeEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.DomainCode + " in",
                    Arrays.asList(values), "domainCode");

                return this;
            }
        }

        public Criteria andDomainCodeNotIn(String[] values) {
            if (values.length == 1) {
                return andDomainCodeNotEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.DomainCode + " not in",
                    Arrays.asList(values), "domainCode");

                return this;
            }
        }

        public Criteria andDomainCodeIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainCode + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainCodeNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainCode + " not in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainCodeBetween(String value1, String value2) {
            addCriterion(ISysDomainDAO.DomainCode + " between", value1, value2,
                "domainCode");

            return this;
        }

        public Criteria andDomainCodeNotBetween(String value1, String value2) {
            addCriterion(ISysDomainDAO.DomainCode + " not between", value1,
                value2, "domainCode");

            return this;
        }

        public Criteria andDomainIconIsNull() {
            addCriterion(ISysDomainDAO.DomainIcon + " is null");

            return this;
        }

        public Criteria andDomainIconIsNotNull() {
            addCriterion(ISysDomainDAO.DomainIcon + " is not null");

            return this;
        }

        public Criteria andDomainIconIsNotEmpty() {
            addCriterion(ISysDomainDAO.DomainIcon + " is not null AND " +
                ISysDomainDAO.DomainIcon + " <> ''");

            return this;
        }

        public Criteria andDomainIconIsEmpty() {
            addCriterion("(" + ISysDomainDAO.DomainIcon + " is null OR " +
                ISysDomainDAO.DomainIcon + " = '')");

            return this;
        }

        public Criteria andDomainIconEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainIcon + " = ", value, "domainIcon");

            return this;
        }

        public Criteria andDomainIconEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainIcon);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainIconEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainIcon + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIconNotEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainIcon + " <>", value, "domainIcon");

            return this;
        }

        public Criteria andDomainIconNotEqualToOrIsNull(String value) {
            addCriterion(ISysDomainDAO.DomainIcon + " is null OR " +
                ISysDomainDAO.DomainIcon + " <>", value, "domainIcon");

            return this;
        }

        public Criteria andDomainIconNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainIcon);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainIconNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainIcon + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIconGreaterThan(String value) {
            addCriterion(ISysDomainDAO.DomainIcon + " >", value, "domainIcon");

            return this;
        }

        public Criteria andDomainIconGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainIcon);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainIconGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainIcon + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIconGreaterThanOrEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainIcon + " >=", value, "domainIcon");

            return this;
        }

        public Criteria andDomainIconGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainIcon);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainIconGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainIcon + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIconLessThan(String value) {
            addCriterion(ISysDomainDAO.DomainIcon + " <", value, "domainIcon");

            return this;
        }

        public Criteria andDomainIconLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainIcon);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainIconLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainIcon + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIconLessThanOrEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainIcon + " <=", value, "domainIcon");

            return this;
        }

        public Criteria andDomainIconLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainIcon);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainIconLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainIcon + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIconLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysDomainDAO.DomainIcon + " like", buffer.toString(),
                "domainIcon");

            return this;
        }

        public Criteria andDomainIconNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysDomainDAO.DomainIcon + " not like",
                buffer.toString(), "domainIcon");

            return this;
        }

        public Criteria andDomainIconIn(List<String> values) {
            if (values.size() == 1) {
                return andDomainIconEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.DomainIcon + " in", values,
                    "domainIcon");

                return this;
            }
        }

        public Criteria andDomainIconNotIn(List<String> values) {
            if (values.size() == 1) {
                return andDomainIconNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.DomainIcon + " not in", values,
                    "domainIcon");

                return this;
            }
        }

        public Criteria andDomainIconIn(String[] values) {
            if (values.length == 1) {
                return andDomainIconEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.DomainIcon + " in",
                    Arrays.asList(values), "domainIcon");

                return this;
            }
        }

        public Criteria andDomainIconNotIn(String[] values) {
            if (values.length == 1) {
                return andDomainIconNotEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.DomainIcon + " not in",
                    Arrays.asList(values), "domainIcon");

                return this;
            }
        }

        public Criteria andDomainIconIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainIcon + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIconNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainIcon + " not in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainIconBetween(String value1, String value2) {
            addCriterion(ISysDomainDAO.DomainIcon + " between", value1, value2,
                "domainIcon");

            return this;
        }

        public Criteria andDomainIconNotBetween(String value1, String value2) {
            addCriterion(ISysDomainDAO.DomainIcon + " not between", value1,
                value2, "domainIcon");

            return this;
        }

        public Criteria andDomainNameIsNull() {
            addCriterion(ISysDomainDAO.DomainName + " is null");

            return this;
        }

        public Criteria andDomainNameIsNotNull() {
            addCriterion(ISysDomainDAO.DomainName + " is not null");

            return this;
        }

        public Criteria andDomainNameIsNotEmpty() {
            addCriterion(ISysDomainDAO.DomainName + " is not null AND " +
                ISysDomainDAO.DomainName + " <> ''");

            return this;
        }

        public Criteria andDomainNameIsEmpty() {
            addCriterion("(" + ISysDomainDAO.DomainName + " is null OR " +
                ISysDomainDAO.DomainName + " = '')");

            return this;
        }

        public Criteria andDomainNameEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainName + " = ", value, "domainName");

            return this;
        }

        public Criteria andDomainNameEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainName);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainNameEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainName + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainNameNotEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainName + " <>", value, "domainName");

            return this;
        }

        public Criteria andDomainNameNotEqualToOrIsNull(String value) {
            addCriterion(ISysDomainDAO.DomainName + " is null OR " +
                ISysDomainDAO.DomainName + " <>", value, "domainName");

            return this;
        }

        public Criteria andDomainNameNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainName);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainNameNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainName + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainNameGreaterThan(String value) {
            addCriterion(ISysDomainDAO.DomainName + " >", value, "domainName");

            return this;
        }

        public Criteria andDomainNameGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainName);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainNameGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainName + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainNameGreaterThanOrEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainName + " >=", value, "domainName");

            return this;
        }

        public Criteria andDomainNameGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainName);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainNameGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainName + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainNameLessThan(String value) {
            addCriterion(ISysDomainDAO.DomainName + " <", value, "domainName");

            return this;
        }

        public Criteria andDomainNameLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainName);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainNameLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainName + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainNameLessThanOrEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainName + " <=", value, "domainName");

            return this;
        }

        public Criteria andDomainNameLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainName);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainNameLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainName + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainNameLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysDomainDAO.DomainName + " like", buffer.toString(),
                "domainName");

            return this;
        }

        public Criteria andDomainNameNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysDomainDAO.DomainName + " not like",
                buffer.toString(), "domainName");

            return this;
        }

        public Criteria andDomainNameIn(List<String> values) {
            if (values.size() == 1) {
                return andDomainNameEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.DomainName + " in", values,
                    "domainName");

                return this;
            }
        }

        public Criteria andDomainNameNotIn(List<String> values) {
            if (values.size() == 1) {
                return andDomainNameNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.DomainName + " not in", values,
                    "domainName");

                return this;
            }
        }

        public Criteria andDomainNameIn(String[] values) {
            if (values.length == 1) {
                return andDomainNameEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.DomainName + " in",
                    Arrays.asList(values), "domainName");

                return this;
            }
        }

        public Criteria andDomainNameNotIn(String[] values) {
            if (values.length == 1) {
                return andDomainNameNotEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.DomainName + " not in",
                    Arrays.asList(values), "domainName");

                return this;
            }
        }

        public Criteria andDomainNameIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainName + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainNameNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainName + " not in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainNameBetween(String value1, String value2) {
            addCriterion(ISysDomainDAO.DomainName + " between", value1, value2,
                "domainName");

            return this;
        }

        public Criteria andDomainNameNotBetween(String value1, String value2) {
            addCriterion(ISysDomainDAO.DomainName + " not between", value1,
                value2, "domainName");

            return this;
        }

        public Criteria andDomainTitelKeyIsNull() {
            addCriterion(ISysDomainDAO.DomainTitelKey + " is null");

            return this;
        }

        public Criteria andDomainTitelKeyIsNotNull() {
            addCriterion(ISysDomainDAO.DomainTitelKey + " is not null");

            return this;
        }

        public Criteria andDomainTitelKeyIsNotEmpty() {
            addCriterion(ISysDomainDAO.DomainTitelKey + " is not null AND " +
                ISysDomainDAO.DomainTitelKey + " <> ''");

            return this;
        }

        public Criteria andDomainTitelKeyIsEmpty() {
            addCriterion("(" + ISysDomainDAO.DomainTitelKey + " is null OR " +
                ISysDomainDAO.DomainTitelKey + " = '')");

            return this;
        }

        public Criteria andDomainTitelKeyEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainTitelKey + " = ", value,
                "domainTitelKey");

            return this;
        }

        public Criteria andDomainTitelKeyEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainTitelKey);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainTitelKeyEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainTitelKey + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainTitelKeyNotEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainTitelKey + " <>", value,
                "domainTitelKey");

            return this;
        }

        public Criteria andDomainTitelKeyNotEqualToOrIsNull(String value) {
            addCriterion(ISysDomainDAO.DomainTitelKey + " is null OR " +
                ISysDomainDAO.DomainTitelKey + " <>", value, "domainTitelKey");

            return this;
        }

        public Criteria andDomainTitelKeyNotEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainTitelKey);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainTitelKeyNotEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainTitelKey + " <> ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainTitelKeyGreaterThan(String value) {
            addCriterion(ISysDomainDAO.DomainTitelKey + " >", value,
                "domainTitelKey");

            return this;
        }

        public Criteria andDomainTitelKeyGreaterThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainTitelKey);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainTitelKeyGreaterThan(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainTitelKey + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainTitelKeyGreaterThanOrEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainTitelKey + " >=", value,
                "domainTitelKey");

            return this;
        }

        public Criteria andDomainTitelKeyGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainTitelKey);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainTitelKeyGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainTitelKey + " >= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainTitelKeyLessThan(String value) {
            addCriterion(ISysDomainDAO.DomainTitelKey + " <", value,
                "domainTitelKey");

            return this;
        }

        public Criteria andDomainTitelKeyLessThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainTitelKey);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainTitelKeyLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainTitelKey + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainTitelKeyLessThanOrEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainTitelKey + " <=", value,
                "domainTitelKey");

            return this;
        }

        public Criteria andDomainTitelKeyLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainTitelKey);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainTitelKeyLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainTitelKey + " <= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainTitelKeyLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysDomainDAO.DomainTitelKey + " like",
                buffer.toString(), "domainTitelKey");

            return this;
        }

        public Criteria andDomainTitelKeyNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysDomainDAO.DomainTitelKey + " not like",
                buffer.toString(), "domainTitelKey");

            return this;
        }

        public Criteria andDomainTitelKeyIn(List<String> values) {
            if (values.size() == 1) {
                return andDomainTitelKeyEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.DomainTitelKey + " in", values,
                    "domainTitelKey");

                return this;
            }
        }

        public Criteria andDomainTitelKeyNotIn(List<String> values) {
            if (values.size() == 1) {
                return andDomainTitelKeyNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.DomainTitelKey + " not in", values,
                    "domainTitelKey");

                return this;
            }
        }

        public Criteria andDomainTitelKeyIn(String[] values) {
            if (values.length == 1) {
                return andDomainTitelKeyEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.DomainTitelKey + " in",
                    Arrays.asList(values), "domainTitelKey");

                return this;
            }
        }

        public Criteria andDomainTitelKeyNotIn(String[] values) {
            if (values.length == 1) {
                return andDomainTitelKeyNotEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.DomainTitelKey + " not in",
                    Arrays.asList(values), "domainTitelKey");

                return this;
            }
        }

        public Criteria andDomainTitelKeyIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainTitelKey + " in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainTitelKeyNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainTitelKey + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andDomainTitelKeyBetween(String value1, String value2) {
            addCriterion(ISysDomainDAO.DomainTitelKey + " between", value1,
                value2, "domainTitelKey");

            return this;
        }

        public Criteria andDomainTitelKeyNotBetween(String value1, String value2) {
            addCriterion(ISysDomainDAO.DomainTitelKey + " not between", value1,
                value2, "domainTitelKey");

            return this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion(ISysDomainDAO.Remarks + " is null");

            return this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion(ISysDomainDAO.Remarks + " is not null");

            return this;
        }

        public Criteria andRemarksIsNotEmpty() {
            addCriterion(ISysDomainDAO.Remarks + " is not null AND " +
                ISysDomainDAO.Remarks + " <> ''");

            return this;
        }

        public Criteria andRemarksIsEmpty() {
            addCriterion("(" + ISysDomainDAO.Remarks + " is null OR " +
                ISysDomainDAO.Remarks + " = '')");

            return this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion(ISysDomainDAO.Remarks + " = ", value, "remarks");

            return this;
        }

        public Criteria andRemarksEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.Remarks);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andRemarksEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Remarks + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion(ISysDomainDAO.Remarks + " <>", value, "remarks");

            return this;
        }

        public Criteria andRemarksNotEqualToOrIsNull(String value) {
            addCriterion(ISysDomainDAO.Remarks + " is null OR " +
                ISysDomainDAO.Remarks + " <>", value, "remarks");

            return this;
        }

        public Criteria andRemarksNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.Remarks);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andRemarksNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Remarks + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion(ISysDomainDAO.Remarks + " >", value, "remarks");

            return this;
        }

        public Criteria andRemarksGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.Remarks);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andRemarksGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Remarks + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion(ISysDomainDAO.Remarks + " >=", value, "remarks");

            return this;
        }

        public Criteria andRemarksGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.Remarks);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Remarks + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion(ISysDomainDAO.Remarks + " <", value, "remarks");

            return this;
        }

        public Criteria andRemarksLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.Remarks);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andRemarksLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Remarks + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion(ISysDomainDAO.Remarks + " <=", value, "remarks");

            return this;
        }

        public Criteria andRemarksLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.Remarks);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andRemarksLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Remarks + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysDomainDAO.Remarks + " like", buffer.toString(),
                "remarks");

            return this;
        }

        public Criteria andRemarksNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysDomainDAO.Remarks + " not like",
                buffer.toString(), "remarks");

            return this;
        }

        public Criteria andRemarksIn(List<String> values) {
            if (values.size() == 1) {
                return andRemarksEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.Remarks + " in", values, "remarks");

                return this;
            }
        }

        public Criteria andRemarksNotIn(List<String> values) {
            if (values.size() == 1) {
                return andRemarksNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.Remarks + " not in", values,
                    "remarks");

                return this;
            }
        }

        public Criteria andRemarksIn(String[] values) {
            if (values.length == 1) {
                return andRemarksEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.Remarks + " in",
                    Arrays.asList(values), "remarks");

                return this;
            }
        }

        public Criteria andRemarksNotIn(String[] values) {
            if (values.length == 1) {
                return andRemarksNotEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.Remarks + " not in",
                    Arrays.asList(values), "remarks");

                return this;
            }
        }

        public Criteria andRemarksIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Remarks + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Remarks + " not in ", subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion(ISysDomainDAO.Remarks + " between", value1, value2,
                "remarks");

            return this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion(ISysDomainDAO.Remarks + " not between", value1,
                value2, "remarks");

            return this;
        }

        public Criteria andSortIndexIsNull() {
            addCriterion(ISysDomainDAO.SortIndex + " is null");

            return this;
        }

        public Criteria andSortIndexIsNotNull() {
            addCriterion(ISysDomainDAO.SortIndex + " is not null");

            return this;
        }

        public Criteria andSortIndexIsNotEmpty() {
            addCriterion(ISysDomainDAO.SortIndex + " is not null AND " +
                ISysDomainDAO.SortIndex + " <> ''");

            return this;
        }

        public Criteria andSortIndexIsEmpty() {
            addCriterion("(" + ISysDomainDAO.SortIndex + " is null OR " +
                ISysDomainDAO.SortIndex + " = '')");

            return this;
        }

        public Criteria andSortIndexEqualTo(Integer value) {
            addCriterion(ISysDomainDAO.SortIndex + " = ", value, "sortIndex");

            return this;
        }

        public Criteria andSortIndexEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.SortIndex);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andSortIndexEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.SortIndex + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andSortIndexNotEqualTo(Integer value) {
            addCriterion(ISysDomainDAO.SortIndex + " <>", value, "sortIndex");

            return this;
        }

        public Criteria andSortIndexNotEqualToOrIsNull(Integer value) {
            addCriterion(ISysDomainDAO.SortIndex + " is null OR " +
                ISysDomainDAO.SortIndex + " <>", value, "sortIndex");

            return this;
        }

        public Criteria andSortIndexNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.SortIndex);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andSortIndexNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.SortIndex + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andSortIndexGreaterThan(Integer value) {
            addCriterion(ISysDomainDAO.SortIndex + " >", value, "sortIndex");

            return this;
        }

        public Criteria andSortIndexGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.SortIndex);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andSortIndexGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.SortIndex + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andSortIndexGreaterThanOrEqualTo(Integer value) {
            addCriterion(ISysDomainDAO.SortIndex + " >=", value, "sortIndex");

            return this;
        }

        public Criteria andSortIndexGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.SortIndex);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andSortIndexGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.SortIndex + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andSortIndexLessThan(Integer value) {
            addCriterion(ISysDomainDAO.SortIndex + " <", value, "sortIndex");

            return this;
        }

        public Criteria andSortIndexLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.SortIndex);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andSortIndexLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.SortIndex + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andSortIndexLessThanOrEqualTo(Integer value) {
            addCriterion(ISysDomainDAO.SortIndex + " <=", value, "sortIndex");

            return this;
        }

        public Criteria andSortIndexLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.SortIndex);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andSortIndexLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.SortIndex + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andSortIndexIn(List<Integer> values) {
            if (values.size() == 1) {
                return andSortIndexEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.SortIndex + " in", values,
                    "sortIndex");

                return this;
            }
        }

        public Criteria andSortIndexNotIn(List<Integer> values) {
            if (values.size() == 1) {
                return andSortIndexNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.SortIndex + " not in", values,
                    "sortIndex");

                return this;
            }
        }

        public Criteria andSortIndexIn(Integer[] values) {
            if (values.length == 1) {
                return andSortIndexEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.SortIndex + " in",
                    Arrays.asList(values), "sortIndex");

                return this;
            }
        }

        public Criteria andSortIndexNotIn(Integer[] values) {
            if (values.length == 1) {
                return andSortIndexNotEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.SortIndex + " not in",
                    Arrays.asList(values), "sortIndex");

                return this;
            }
        }

        public Criteria andSortIndexIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.SortIndex + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andSortIndexNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.SortIndex + " not in ", subQueryBean, dao);

            return this;
        }

        public Criteria andSortIndexBetween(Integer value1, Integer value2) {
            addCriterion(ISysDomainDAO.SortIndex + " between", value1, value2,
                "sortIndex");

            return this;
        }

        public Criteria andSortIndexNotBetween(Integer value1, Integer value2) {
            addCriterion(ISysDomainDAO.SortIndex + " not between", value1,
                value2, "sortIndex");

            return this;
        }

        public Criteria andStatusIsNull() {
            addCriterion(ISysDomainDAO.Status + " is null");

            return this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion(ISysDomainDAO.Status + " is not null");

            return this;
        }

        public Criteria andStatusIsNotEmpty() {
            addCriterion(ISysDomainDAO.Status + " is not null AND " +
                ISysDomainDAO.Status + " <> ''");

            return this;
        }

        public Criteria andStatusIsEmpty() {
            addCriterion("(" + ISysDomainDAO.Status + " is null OR " +
                ISysDomainDAO.Status + " = '')");

            return this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion(ISysDomainDAO.Status + " = ", value, "status");

            return this;
        }

        public Criteria andStatusEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.Status);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Status + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion(ISysDomainDAO.Status + " <>", value, "status");

            return this;
        }

        public Criteria andStatusNotEqualToOrIsNull(String value) {
            addCriterion(ISysDomainDAO.Status + " is null OR " +
                ISysDomainDAO.Status + " <>", value, "status");

            return this;
        }

        public Criteria andStatusNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.Status);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Status + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion(ISysDomainDAO.Status + " >", value, "status");

            return this;
        }

        public Criteria andStatusGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.Status);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Status + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion(ISysDomainDAO.Status + " >=", value, "status");

            return this;
        }

        public Criteria andStatusGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.Status);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Status + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion(ISysDomainDAO.Status + " <", value, "status");

            return this;
        }

        public Criteria andStatusLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.Status);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Status + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion(ISysDomainDAO.Status + " <=", value, "status");

            return this;
        }

        public Criteria andStatusLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.Status);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusLessThanOrEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Status + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysDomainDAO.Status + " like", buffer.toString(),
                "status");

            return this;
        }

        public Criteria andStatusNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysDomainDAO.Status + " not like", buffer.toString(),
                "status");

            return this;
        }

        public Criteria andStatusIn(List<String> values) {
            if (values.size() == 1) {
                return andStatusEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.Status + " in", values, "status");

                return this;
            }
        }

        public Criteria andStatusNotIn(List<String> values) {
            if (values.size() == 1) {
                return andStatusNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.Status + " not in", values, "status");

                return this;
            }
        }

        public Criteria andStatusIn(String[] values) {
            if (values.length == 1) {
                return andStatusEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.Status + " in",
                    Arrays.asList(values), "status");

                return this;
            }
        }

        public Criteria andStatusNotIn(String[] values) {
            if (values.length == 1) {
                return andStatusNotEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.Status + " not in",
                    Arrays.asList(values), "status");

                return this;
            }
        }

        public Criteria andStatusIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Status + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.Status + " not in ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion(ISysDomainDAO.Status + " between", value1, value2,
                "status");

            return this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion(ISysDomainDAO.Status + " not between", value1, value2,
                "status");

            return this;
        }

        public Criteria andDomainShortNameIsNull() {
            addCriterion(ISysDomainDAO.DomainShortName + " is null");

            return this;
        }

        public Criteria andDomainShortNameIsNotNull() {
            addCriterion(ISysDomainDAO.DomainShortName + " is not null");

            return this;
        }

        public Criteria andDomainShortNameIsNotEmpty() {
            addCriterion(ISysDomainDAO.DomainShortName + " is not null AND " +
                ISysDomainDAO.DomainShortName + " <> ''");

            return this;
        }

        public Criteria andDomainShortNameIsEmpty() {
            addCriterion("(" + ISysDomainDAO.DomainShortName + " is null OR " +
                ISysDomainDAO.DomainShortName + " = '')");

            return this;
        }

        public Criteria andDomainShortNameEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainShortName + " = ", value,
                "domainShortName");

            return this;
        }

        public Criteria andDomainShortNameEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainShortName);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainShortNameEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainShortName + " = ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainShortNameNotEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainShortName + " <>", value,
                "domainShortName");

            return this;
        }

        public Criteria andDomainShortNameNotEqualToOrIsNull(String value) {
            addCriterion(ISysDomainDAO.DomainShortName + " is null OR " +
                ISysDomainDAO.DomainShortName + " <>", value, "domainShortName");

            return this;
        }

        public Criteria andDomainShortNameNotEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainShortName);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainShortNameNotEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainShortName + " <> ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainShortNameGreaterThan(String value) {
            addCriterion(ISysDomainDAO.DomainShortName + " >", value,
                "domainShortName");

            return this;
        }

        public Criteria andDomainShortNameGreaterThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainShortName);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainShortNameGreaterThan(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainShortName + " > ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainShortNameGreaterThanOrEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainShortName + " >=", value,
                "domainShortName");

            return this;
        }

        public Criteria andDomainShortNameGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainShortName);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainShortNameGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainShortName + " >= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainShortNameLessThan(String value) {
            addCriterion(ISysDomainDAO.DomainShortName + " <", value,
                "domainShortName");

            return this;
        }

        public Criteria andDomainShortNameLessThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainShortName);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainShortNameLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainShortName + " < ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainShortNameLessThanOrEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainShortName + " <=", value,
                "domainShortName");

            return this;
        }

        public Criteria andDomainShortNameLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainShortName);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainShortNameLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainShortName + " <= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainShortNameLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysDomainDAO.DomainShortName + " like",
                buffer.toString(), "domainShortName");

            return this;
        }

        public Criteria andDomainShortNameNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysDomainDAO.DomainShortName + " not like",
                buffer.toString(), "domainShortName");

            return this;
        }

        public Criteria andDomainShortNameIn(List<String> values) {
            if (values.size() == 1) {
                return andDomainShortNameEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.DomainShortName + " in", values,
                    "domainShortName");

                return this;
            }
        }

        public Criteria andDomainShortNameNotIn(List<String> values) {
            if (values.size() == 1) {
                return andDomainShortNameNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.DomainShortName + " not in", values,
                    "domainShortName");

                return this;
            }
        }

        public Criteria andDomainShortNameIn(String[] values) {
            if (values.length == 1) {
                return andDomainShortNameEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.DomainShortName + " in",
                    Arrays.asList(values), "domainShortName");

                return this;
            }
        }

        public Criteria andDomainShortNameNotIn(String[] values) {
            if (values.length == 1) {
                return andDomainShortNameNotEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.DomainShortName + " not in",
                    Arrays.asList(values), "domainShortName");

                return this;
            }
        }

        public Criteria andDomainShortNameIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainShortName + " in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainShortNameNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainShortName + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andDomainShortNameBetween(String value1, String value2) {
            addCriterion(ISysDomainDAO.DomainShortName + " between", value1,
                value2, "domainShortName");

            return this;
        }

        public Criteria andDomainShortNameNotBetween(String value1,
            String value2) {
            addCriterion(ISysDomainDAO.DomainShortName + " not between",
                value1, value2, "domainShortName");

            return this;
        }

        public Criteria andDomainSmallIconIsNull() {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " is null");

            return this;
        }

        public Criteria andDomainSmallIconIsNotNull() {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " is not null");

            return this;
        }

        public Criteria andDomainSmallIconIsNotEmpty() {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " is not null AND " +
                ISysDomainDAO.DomainSmallIcon + " <> ''");

            return this;
        }

        public Criteria andDomainSmallIconIsEmpty() {
            addCriterion("(" + ISysDomainDAO.DomainSmallIcon + " is null OR " +
                ISysDomainDAO.DomainSmallIcon + " = '')");

            return this;
        }

        public Criteria andDomainSmallIconEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " = ", value,
                "domainSmallIcon");

            return this;
        }

        public Criteria andDomainSmallIconEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainSmallIcon);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainSmallIconEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " = ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainSmallIconNotEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " <>", value,
                "domainSmallIcon");

            return this;
        }

        public Criteria andDomainSmallIconNotEqualToOrIsNull(String value) {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " is null OR " +
                ISysDomainDAO.DomainSmallIcon + " <>", value, "domainSmallIcon");

            return this;
        }

        public Criteria andDomainSmallIconNotEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainSmallIcon);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainSmallIconNotEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " <> ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainSmallIconGreaterThan(String value) {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " >", value,
                "domainSmallIcon");

            return this;
        }

        public Criteria andDomainSmallIconGreaterThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainSmallIcon);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainSmallIconGreaterThan(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " > ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainSmallIconGreaterThanOrEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " >=", value,
                "domainSmallIcon");

            return this;
        }

        public Criteria andDomainSmallIconGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainSmallIcon);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainSmallIconGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " >= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainSmallIconLessThan(String value) {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " <", value,
                "domainSmallIcon");

            return this;
        }

        public Criteria andDomainSmallIconLessThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainSmallIcon);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainSmallIconLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " < ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainSmallIconLessThanOrEqualTo(String value) {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " <=", value,
                "domainSmallIcon");

            return this;
        }

        public Criteria andDomainSmallIconLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainSmallIcon);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainSmallIconLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " <= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainSmallIconLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysDomainDAO.DomainSmallIcon + " like",
                buffer.toString(), "domainSmallIcon");

            return this;
        }

        public Criteria andDomainSmallIconNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysDomainDAO.DomainSmallIcon + " not like",
                buffer.toString(), "domainSmallIcon");

            return this;
        }

        public Criteria andDomainSmallIconIn(List<String> values) {
            if (values.size() == 1) {
                return andDomainSmallIconEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.DomainSmallIcon + " in", values,
                    "domainSmallIcon");

                return this;
            }
        }

        public Criteria andDomainSmallIconNotIn(List<String> values) {
            if (values.size() == 1) {
                return andDomainSmallIconNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.DomainSmallIcon + " not in", values,
                    "domainSmallIcon");

                return this;
            }
        }

        public Criteria andDomainSmallIconIn(String[] values) {
            if (values.length == 1) {
                return andDomainSmallIconEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.DomainSmallIcon + " in",
                    Arrays.asList(values), "domainSmallIcon");

                return this;
            }
        }

        public Criteria andDomainSmallIconNotIn(String[] values) {
            if (values.length == 1) {
                return andDomainSmallIconNotEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.DomainSmallIcon + " not in",
                    Arrays.asList(values), "domainSmallIcon");

                return this;
            }
        }

        public Criteria andDomainSmallIconIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainSmallIconNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andDomainSmallIconBetween(String value1, String value2) {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " between", value1,
                value2, "domainSmallIcon");

            return this;
        }

        public Criteria andDomainSmallIconNotBetween(String value1,
            String value2) {
            addCriterion(ISysDomainDAO.DomainSmallIcon + " not between",
                value1, value2, "domainSmallIcon");

            return this;
        }

        public Criteria andDomainIconContentIsNull() {
            addCriterion(ISysDomainDAO.DomainIconContent + " is null");

            return this;
        }

        public Criteria andDomainIconContentIsNotNull() {
            addCriterion(ISysDomainDAO.DomainIconContent + " is not null");

            return this;
        }

        public Criteria andDomainIconContentIsNotEmpty() {
            addCriterion(ISysDomainDAO.DomainIconContent + " is not null AND " +
                ISysDomainDAO.DomainIconContent + " <> ''");

            return this;
        }

        public Criteria andDomainIconContentIsEmpty() {
            addCriterion("(" + ISysDomainDAO.DomainIconContent +
                " is null OR " + ISysDomainDAO.DomainIconContent + " = '')");

            return this;
        }

        public Criteria andDomainIconContentEqualTo(byte[] value) {
            addCriterion(ISysDomainDAO.DomainIconContent + " = ", value,
                "domainIconContent");

            return this;
        }

        public Criteria andDomainIconContentEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainIconContent);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainIconContentEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainIconContent + " = ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainIconContentNotEqualTo(byte[] value) {
            addCriterion(ISysDomainDAO.DomainIconContent + " <>", value,
                "domainIconContent");

            return this;
        }

        public Criteria andDomainIconContentNotEqualToOrIsNull(byte[] value) {
            addCriterion(ISysDomainDAO.DomainIconContent + " is null OR " +
                ISysDomainDAO.DomainIconContent + " <>", value,
                "domainIconContent");

            return this;
        }

        public Criteria andDomainIconContentNotEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainIconContent);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainIconContentNotEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainIconContent + " <> ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIconContentGreaterThan(byte[] value) {
            addCriterion(ISysDomainDAO.DomainIconContent + " >", value,
                "domainIconContent");

            return this;
        }

        public Criteria andDomainIconContentGreaterThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainIconContent);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainIconContentGreaterThan(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainIconContent + " > ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainIconContentGreaterThanOrEqualTo(byte[] value) {
            addCriterion(ISysDomainDAO.DomainIconContent + " >=", value,
                "domainIconContent");

            return this;
        }

        public Criteria andDomainIconContentGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainIconContent);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainIconContentGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainIconContent + " >= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIconContentLessThan(byte[] value) {
            addCriterion(ISysDomainDAO.DomainIconContent + " <", value,
                "domainIconContent");

            return this;
        }

        public Criteria andDomainIconContentLessThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainIconContent);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainIconContentLessThan(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainIconContent + " < ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainIconContentLessThanOrEqualTo(byte[] value) {
            addCriterion(ISysDomainDAO.DomainIconContent + " <=", value,
                "domainIconContent");

            return this;
        }

        public Criteria andDomainIconContentLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainIconContent);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainIconContentLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainIconContent + " <= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIconContentIn(List<byte[]> values) {
            if (values.size() == 1) {
                return andDomainIconContentEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.DomainIconContent + " in", values,
                    "domainIconContent");

                return this;
            }
        }

        public Criteria andDomainIconContentNotIn(List<byte[]> values) {
            if (values.size() == 1) {
                return andDomainIconContentNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.DomainIconContent + " not in",
                    values, "domainIconContent");

                return this;
            }
        }

        public Criteria andDomainIconContentIn(byte[][] values) {
            if (values.length == 1) {
                return andDomainIconContentEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.DomainIconContent + " in",
                    Arrays.asList(values), "domainIconContent");

                return this;
            }
        }

        public Criteria andDomainIconContentNotIn(byte[][] values) {
            if (values.length == 1) {
                return andDomainIconContentNotEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.DomainIconContent + " not in",
                    Arrays.asList(values), "domainIconContent");

                return this;
            }
        }

        public Criteria andDomainIconContentIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainIconContent + " in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIconContentNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainIconContent + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIconContentBetween(byte[] value1, byte[] value2) {
            addCriterion(ISysDomainDAO.DomainIconContent + " between", value1,
                value2, "domainIconContent");

            return this;
        }

        public Criteria andDomainIconContentNotBetween(byte[] value1,
            byte[] value2) {
            addCriterion(ISysDomainDAO.DomainIconContent + " not between",
                value1, value2, "domainIconContent");

            return this;
        }

        public Criteria andDomainSmallIconContentIsNull() {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " is null");

            return this;
        }

        public Criteria andDomainSmallIconContentIsNotNull() {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " is not null");

            return this;
        }

        public Criteria andDomainSmallIconContentIsNotEmpty() {
            addCriterion(ISysDomainDAO.DomainSmallIconContent +
                " is not null AND " + ISysDomainDAO.DomainSmallIconContent +
                " <> ''");

            return this;
        }

        public Criteria andDomainSmallIconContentIsEmpty() {
            addCriterion("(" + ISysDomainDAO.DomainSmallIconContent +
                " is null OR " + ISysDomainDAO.DomainSmallIconContent +
                " = '')");

            return this;
        }

        public Criteria andDomainSmallIconContentEqualTo(byte[] value) {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " = ", value,
                "domainSmallIconContent");

            return this;
        }

        public Criteria andDomainSmallIconContentEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainSmallIconContent);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainSmallIconContentEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " = ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andDomainSmallIconContentNotEqualTo(byte[] value) {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " <>", value,
                "domainSmallIconContent");

            return this;
        }

        public Criteria andDomainSmallIconContentNotEqualToOrIsNull(
            byte[] value) {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " is null OR " +
                ISysDomainDAO.DomainSmallIconContent + " <>", value,
                "domainSmallIconContent");

            return this;
        }

        public Criteria andDomainSmallIconContentNotEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainSmallIconContent);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainSmallIconContentNotEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " <> ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andDomainSmallIconContentGreaterThan(byte[] value) {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " >", value,
                "domainSmallIconContent");

            return this;
        }

        public Criteria andDomainSmallIconContentGreaterThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainSmallIconContent);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainSmallIconContentGreaterThan(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " > ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andDomainSmallIconContentGreaterThanOrEqualTo(
            byte[] value) {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " >=", value,
                "domainSmallIconContent");

            return this;
        }

        public Criteria andDomainSmallIconContentGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainSmallIconContent);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainSmallIconContentGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " >= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andDomainSmallIconContentLessThan(byte[] value) {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " <", value,
                "domainSmallIconContent");

            return this;
        }

        public Criteria andDomainSmallIconContentLessThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainSmallIconContent);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainSmallIconContentLessThan(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " < ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andDomainSmallIconContentLessThanOrEqualTo(byte[] value) {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " <=", value,
                "domainSmallIconContent");

            return this;
        }

        public Criteria andDomainSmallIconContentLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysDomainDAO.DomainSmallIconContent);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainSmallIconContentLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " <= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andDomainSmallIconContentIn(List<byte[]> values) {
            if (values.size() == 1) {
                return andDomainSmallIconContentEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.DomainSmallIconContent + " in",
                    values, "domainSmallIconContent");

                return this;
            }
        }

        public Criteria andDomainSmallIconContentNotIn(List<byte[]> values) {
            if (values.size() == 1) {
                return andDomainSmallIconContentNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysDomainDAO.DomainSmallIconContent + " not in",
                    values, "domainSmallIconContent");

                return this;
            }
        }

        public Criteria andDomainSmallIconContentIn(byte[][] values) {
            if (values.length == 1) {
                return andDomainSmallIconContentEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.DomainSmallIconContent + " in",
                    Arrays.asList(values), "domainSmallIconContent");

                return this;
            }
        }

        public Criteria andDomainSmallIconContentNotIn(byte[][] values) {
            if (values.length == 1) {
                return andDomainSmallIconContentNotEqualTo(values[0]);
            } else {
                addCriterion(ISysDomainDAO.DomainSmallIconContent + " not in",
                    Arrays.asList(values), "domainSmallIconContent");

                return this;
            }
        }

        public Criteria andDomainSmallIconContentIn(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andDomainSmallIconContentNotIn(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andDomainSmallIconContentBetween(byte[] value1,
            byte[] value2) {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " between",
                value1, value2, "domainSmallIconContent");

            return this;
        }

        public Criteria andDomainSmallIconContentNotBetween(byte[] value1,
            byte[] value2) {
            addCriterion(ISysDomainDAO.DomainSmallIconContent + " not between",
                value1, value2, "domainSmallIconContent");

            return this;
        }
    }
}
